public class theAccount {

    public String owner { get; set; }

    public PageReference doSearch() {
        String SearchText1=searchText + '%';
List<Account> results = [select name from Account where Rating = :searchtext or name LIKE :SearchText1  or Industry = :searchtext or Account_Priority__c =:searchtext or Account_summary__c =:searchtext ];
        return null;
    }

String searchText;

List<Account> results1;
List<Account> dosearch;

public String getsearchText() {

return searchText;
}
public void setSearchText(String s) {
searchText = s;
}
public List<Account> getResults() {

return  null;
}
public List<Account> getdoSearch() {
String SearchText1=searchText + '%';
List<Account> results = [select name from Account where Rating = :searchtext or name LIKE :SearchText1  or Industry = :searchtext or Account_Priority__c =:searchtext or Account_summary__c =:searchtext ];
return results;
}
public List<Account> getResults1() {
String SearchText2 =searchText + '%';
List<Account> results1 = [select name,industry,Account_Priority__c,Rating  from Account where Rating = :searchtext or name Like :searchtext2  or Industry = :searchtext or Account_Priority__c =:searchtext or Account_summary__c =:searchtext  ];
return results1;
}

public PageReference doSubmit() 
{

return null;

}
}